package com.example.bicycle.mqtt;

import org.springframework.stereotype.Component;

@Component
public interface MqttMessageService {
    void publish(String topic, String message);
    <T> void publish(String topic, T entity);

    void storeOfflineMessage(String topic,String message);

    void sendOfflineMessage(String clientId);
}
